package pojo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jesse
 * @Date 2019/5/28 11:02
 * @Version 1.0
 */
@Data
public class User {

    private String id;
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码不能为空")
    private String password;
}
